from random import choice
s1 = ['a', 'b', 'c', 'd', 'e']
s2 = ['a', 'b', 'c', 'd', 'e']
s3 = ['a', 'b', 'c', 'd', 'e']
sum=0
for i in s2:
    if sum > 2:
        break
    j = choice(s1)
    if j != i:
        print(f"{i}--》{j}")
        sum+=1
        s3.remove(i)
        s1.remove(j)
    else:
        s2.append(i)

if s3==s2 or (s1[0] not in s3 and s1[1] not  in s3) and s1[0]==s3[0]:
        print(f"{s3[0]}--》{s1[1]}")
        print(f"{s3[1]}--》{s1[0]}")
else:
        print(f"{s3[0]}--》{s1[0]}")
        print(f"{s3[1]}--》{s1[1]}")

